package app.modules.infrastructure.lov.persistence.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import jasmine.framework.database.mybatisplus.annotation.I18n;
import jasmine.framework.database.mybatisplus.entity.BaseI18nEntity;

/**
 * @author mh.z
 */
@TableName("sys_value_set")
public class ValueSetEO extends BaseI18nEntity {

    /** 代码 */
    @TableField("value_set_code")
    private String valueSetCode;

    /** 全局代码 */
    @TableField("value_set_global_code")
    private String valueSetGlobalCode;

    /** 名称 */
    @I18n
    @TableField("value_set_name")
    private String valueSetName;

    /** 描述 */
    @I18n
    @TableField(value = "value_set_desc", updateStrategy = FieldStrategy.IGNORED)
    private String valueSetDesc;

    /** 启用标志 */
    @TableField("enable_flag")
    private Boolean enableFlag;

    /** 租户ID */
    @TableField("tenant_id")
    private Long tenantId;

    public String getValueSetCode() {
        return valueSetCode;
    }

    public void setValueSetCode(String valueSetCode) {
        this.valueSetCode = valueSetCode;
    }

    public String getValueSetGlobalCode() {
        return valueSetGlobalCode;
    }

    public void setValueSetGlobalCode(String valueSetGlobalCode) {
        this.valueSetGlobalCode = valueSetGlobalCode;
    }

    public String getValueSetName() {
        return valueSetName;
    }

    public void setValueSetName(String valueSetName) {
        this.valueSetName = valueSetName;
    }

    public String getValueSetDesc() {
        return valueSetDesc;
    }

    public void setValueSetDesc(String valueSetDesc) {
        this.valueSetDesc = valueSetDesc;
    }

    public Boolean getEnableFlag() {
        return enableFlag;
    }

    public void setEnableFlag(Boolean enableFlag) {
        this.enableFlag = enableFlag;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }
}
